<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
  <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
  <el-breadcrumb-item v-for="(item,index) in breadList" :key="index">{{ item }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script>
export default {
  name: "bread",
  data(){
    return{
      breadList:[]
    }
  },
  methods:{
    getBreadList(List){
      this.breadList=List
    }
  },
  created() {

  },
}
</script>

<style scoped>

</style>
